launch
Type
command
Summary
Starts up an application, optionally opening a document in the application.
Syntax
launch [<documentPath> with] <applicationPath>
Description
Use the launch command to start an application for the user to use.
When the launch command executes, the application being launched comes to the foreground. When the user quits, LiveCode comes to the foreground.
If no documentPath is specified, the following two statements are equivalent:
launch application
open process application for neither
note
On OS X systems, you can use the launch command to start up an application, but not a Unix process. To work with a Unix process, use the shell function instead.
tip
On Windows systems, you can also start up an application by using the shell function with the Windows "start" command:
get shell(\"start MyProgram.exe\")